/**  @file Info.qml
    @brief The Standard info page

    @authorname \n
    @licenseversion \n
    @actualversion - @dateupdate

    @licensenote
*/

import QtQuick 1.0
import com.nokia.symbian 1.0
import "Geometry.js" as Geometry

Item {
    id: infoElement

    width: objLoad.getWidth();
    height: objLoad.getHeight()

    Rectangle {
        id: formbackground
        width: parent.width; height: parent.height
        color: "#ffffff"; radius: Geometry.getRadius(); border.width: Geometry.getFormBorder();
        border.color: "#666666"
    }

    Text {
        id: textTitle
        width: parent.width;
        anchors.top: parent.top
        anchors.topMargin: 20
        anchors.left: parent.left
        anchors.leftMargin: 25
        anchors.rightMargin: 5
        wrapMode: TextEdit.NoWrap
        text: objLoad.getString();
        font.weight: Font.Bold
        font.pointSize: Geometry.getFontPoints() + 2;
    }

    Text {
        id: textIntro
        width: parent.width
        anchors.top: textTitle.bottom
        anchors.topMargin: 15
        anchors.left: parent.left
        anchors.right: parent.right
        anchors.leftMargin: 20
        anchors.rightMargin: 20
        wrapMode: TextEdit.Wrap
        text: objLoad.getMessage();
        font.weight: Font.Normal
        font.pointSize: Geometry.getFontPoints();
    }
}
